package com.tuo51.foudation.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class ExportUtils {

    public static String TEMPLATENAME_WORD;
    public static String OSS_FILENAME_WORD;
    public static String OSS_FOLDERNAME_WORD;

    public static String TEMPLATENAME_H5;
    public static String OSS_FILENAME_H5;
    public static String OSS_FOLDERNAME_H5;

    @Value("${export.pb.h5.template_name}")
    public void  setTemplatenameH5(String templateName){
        TEMPLATENAME_H5 = templateName;
    }

    @Value("${export.pb.h5.oss_file_name}")
    public void  setOssFilenameH5(String templateName){
        OSS_FILENAME_H5 = templateName;
    }

    @Value("${export.pb.h5.oss_folder_name}")
    public void  setOssFoldernameH5(String templateName){
        OSS_FOLDERNAME_H5 = templateName;
    }

    @Value("${export.pb.word.template_name}")
    public void  setTemplatenameWord(String templateName){
        TEMPLATENAME_WORD = templateName;
    }

    @Value("${export.pb.word.oss_file_name}")
    public void  setOssFilenameWord(String templateName){
        OSS_FILENAME_WORD = templateName;
    }

    @Value("${export.pb.word.oss_folder_name}")
    public void  setOssFoldernameWord(String templateName){
        OSS_FOLDERNAME_WORD = templateName;
    }
}
